﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace AllServer.Core.Entity;
    ///<summary>
    ///超级会员表
    ///</summary>
    [SugarTable("TMemberVipPrivilege")]
    public partial class TMemberVipPrivilege
    {
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="Id")]
        public int Id {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="ProductId")]
        public int ProductId {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="UserCode")]
        public string UserCode {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="CreateTime")]
        public DateTime CreateTime {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="BeginTime")]
        public DateTime BeginTime {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="EndTime")]
        public DateTime EndTime {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="PrivilegeLevel")]
        public int PrivilegeLevel {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="VipType")]
        public int VipType {get;set;}
        /// <summary>
        /// 
        /// </summary>           
        [SugarColumn(ColumnName="OutOrderNum")]
        public string OutOrderNum {get;set;}
        /// <summary>
        /// 迁移主键
        /// </summary>           
        [SugarColumn(ColumnName="RawId")]
        public int? RawId {get;set;}
        /// <summary>
        /// 最后更新时间，用于同于更新判断
        /// </summary>           
        [SugarColumn(ColumnName="SyncUpdateTime")]
        public DateTime? SyncUpdateTime {get;set;}
    }
